import api from '../utils/http'
export default {
    //渲染
    show() {
        return api({
            url: '/selectAllMemberVip',
            method: 'get',
        })
    },
    query(res) {
        return api({
            url: '/selectMemberVipByPhone',
            method: 'get',
            parmas: {
                vip_phone: res
            }
        })
    },
    handleClick(res) {
        return api({
            url: '/updateMemberVipById',
            method: 'post',
            data: res
        })
    },
    add(res) {
        return api({
            url: '/addMemberVip',
            method: 'post',
            data: res
        })
    },
    delelt(res) {
        return api({
            url: '/deleteMemberVipById',
            method: 'post',
            data: res
        })
    }
}